# -*- mode: snippet; require-final-newline: nil -*-
# name: wikimg
# key: wikimg
# --

<figure>
  <img alt="${1:alt}" src="${2:url}">
  <figcaption>
    <small class="wikimedia-attribution-small">
      By ${3:authors}
      <a rel="license noreferrer noopener" target="_blank" href="https://creativecommons.org/licenses/by-sa/3.0">
        CC BY-SA 3.0
      </a>,
      via
      <a rel="nofollow noreferrer noopener" target="_blank" href="https://commons.wikimedia.org">
        Wikimedia Commons
      </a>
    </small>
  </figcaption>
</figure>